<style>
    .bread_crumb ul{
        display: inline-block;
    }
    .bread_crumb li{
        display: inline-block;
    }
</style>
<div class="bread_crumb">
    <span>位置:</span>
    <ul>
        {foreach $bread_crumb as $index=>$item}
        <li>
            {if !empty($item.path)}
            <a href="http://localhost/tp5/module.php?s={$item.path}">{$item.title}</a>
            {else/}
            {$item.title}
            {/if}
            {if count($bread_crumb) > $index+1 }
            ->
            {/if}
        </li>
        {/foreach}
    </ul>
</div>

